Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / NotifyCollectionBase<T> Class / Insert Method
The zero-based index at which to insert the item.
The new item.


In This Topic
    Insert Method (NotifyCollectionBase<T>)
    In This Topic
    Inserts an item at a specified index.
    Syntax
    'Declaration
     
    Public Overridable Sub Insert( _
       ByVal index As Integer, _
       ByVal item As T _
    ) 
    'Usage
     
    Dim instance As NotifyCollectionBase(Of T)
    Dim index As Integer
    Dim item As T
     
    instance.Insert(index, item)
    public virtual void Insert( 
       int index,
       T item
    )

    Parameters

    index
    The zero-based index at which to insert the item.
    item
    The new item.
    Exceptions
    ExceptionDescription
    The collection is read-only.
    See Also